package com.penghaisoft.microwms.common.base.model;


import com.penghaisoft.microwms.common.BaseEntity;
import com.penghaisoft.microwms.common.util.CommonUtils;

/**
 * @Description 字典表 bean
 * @author luoteng
 * @date 2017年6月9日 上午10:32:46
 * @version 1.0
 */
public class BaseDictionary extends BaseEntity {
	/**
	 * 唯一标识
	 */
	private String dictionaryId;

	/**
	 * 条目标识
	 */
	private String dicType;

	/**
	 * 条目描述
	 */
	private String dicTypeDesc;

	/**
	 * 条目编码
	 */
	private String dicCode;

	/**
	 * 条目值
	 */
	private String dicName;

	/**
	 * 排序号
	 */
	private String sequenceNumber;

	/**
	 * 国际化
	 */
	private String lang;

	/**
	 * 父级code
	 */
	private String parentCode;

	/**
	 * 条目备注
	 */
	private String remark;
	
	@Override
	public void preInsert() {
		super.preInsert();
		setDictionaryId(CommonUtils.getUUID());
	}

	public String getDictionaryId() {
		return dictionaryId;
	}

	public void setDictionaryId(String dictionaryId) {
		this.dictionaryId = dictionaryId;
	}

	public String getDicType() {
		return dicType;
	}

	public void setDicType(String dicType) {
		this.dicType = dicType;
	}

	public String getDicTypeDesc() {
		return dicTypeDesc;
	}

	public void setDicTypeDesc(String dicTypeDesc) {
		this.dicTypeDesc = dicTypeDesc;
	}

	public String getDicCode() {
		return dicCode;
	}

	public void setDicCode(String dicCode) {
		this.dicCode = dicCode;
	}

	public String getDicName() {
		return dicName;
	}

	public void setDicName(String dicName) {
		this.dicName = dicName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSequenceNumber() {
		return sequenceNumber;
	}

	public void setSequenceNumber(String sequenceNumber) {
		this.sequenceNumber = sequenceNumber;
	}

	public String getLang() {
		return lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}

	public String getParentCode() {
		return parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

}
